package com.xbongbong.pro.message.pojo.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * @author lijiangren
 * @version v1.0
 * @date 2022/05/17 19:53
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class PublicGroupRabbitMqDTO {

    /**
     * 公司id
     */
    private String corpid;
    /**
     * 业务数据id
     */
    private List<Long> dataIds;

    private Long formId;

    private Integer businessType;

    public PublicGroupRabbitMqDTO() {
    }
    public PublicGroupRabbitMqDTO(String corpid, List<Long> dataIds) {
        this.corpid = corpid;
        this.dataIds = dataIds;
    }
    public PublicGroupRabbitMqDTO(String corpid, List<Long> dataIds, Long formId) {
        this.corpid = corpid;
        this.dataIds = dataIds;
        this.formId = formId;
    }

    public PublicGroupRabbitMqDTO(String corpid, List<Long> dataIds, Long formId, Integer businessType) {
        this.corpid = corpid;
        this.dataIds = dataIds;
        this.formId = formId;
        this.businessType = businessType;
    }
}
